package com.jxm.jdk8features;

public class Person {
    private String name;
    
    public Person(String name) {
        this.name = name;
    }
    
    public void printName() {
        System.out.println("Name: " + name);
    }
}